package cn.funeralobjects.upms.entity;

import cn.funeralobjects.common.jpa.entity.BaseCloudJpaEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;

import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 角色
 *
 * @author FuneralObjects
 * Create date: 2019-08-10 10:13
 */
@EqualsAndHashCode(callSuper = true)
@Table(name = "t_role")
@Entity
@Data
@DynamicInsert
@DynamicUpdate
@Accessors(chain = true)
public class ERole extends BaseCloudJpaEntity<Integer> {

}
